package com.qms.repast.ui.activity;

import android.content.Intent;
import android.widget.ImageView;
import android.widget.TextView;

import com.qms.repast.R;
import com.qms.repast.ui.base.BaseActivity;
import com.qms.repast.ui.presenter.SettingPresenter;
import com.qms.repast.ui.view.ISettingView;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * @author 泅渡者
 * @date 2018/9/15 0015
 * @describe: 系统设置界面
 */
public class SettingActivity extends BaseActivity<SettingPresenter> implements ISettingView {
	@BindView(R.id.iv_back)
	ImageView ivBack;
	@BindView(R.id.tv_title)
	TextView tvTitle;

	@Override
	protected int initLayout () {
		return R.layout.activity_setting;
	}

	@Override
	protected void initPresenter (Intent intent) {
		mPresenter = new SettingPresenter(this, this);
	}

	@Override
	protected void initView () {
		tvTitle.setText("设置");
	}

	@Override
	protected void initData () {

	}

	@OnClick(R.id.iv_back)
	public void onViewClicked () {
		finish();
	}
}
